FROM openjdk:11
ENV TZ=Asia/Shanghai
VOLUME /tmp
WORKDIR /feng
EXPOSE 8000
ADD system.jar ./app.jar
ENTRYPOINT ["sh","-c","java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -jar  /app.jar ", "-jar", "app.jar  --spring.profiles.active=pro"]
